package com.pucong.gitee.database.backup.database.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
@ApiModel("返回值")
public class ExeSqlResult  implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("回话id")
    private String sessionId;

    @ApiModelProperty("字段list")
    private List<String> filedList;

    @ApiModelProperty("结果值")
    private List<Map<String,Object>> resultList;

    @ApiModelProperty("结果值")
    private BigDecimal resultInteger;

    @ApiModelProperty("一页大小")
    private Integer pageSize;

    @ApiModelProperty("当前页数")
    private Integer pageNo;

    @ApiModelProperty("执行sql")
    private String execSql;

    @ApiModelProperty("执行sql参数")
    private Object[] execSqlParams;
}
